package com.ktjy.mapper;

import com.ktjy.pojo.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lihanzhui
 * @version 1.0
 * @date 2025/6/11 上午11:07
 */
public interface AddressMapper {
    //查询
    List<Address> select(@Param("contact")String contact,@Param("addressDesc")String addressDesc,@Param("tel")String tel,@Param("pageNo")Integer pageNo,@Param("pageSize")Integer pageSize);
    //新增
    int insert(Address address);
    //修改
    int update(Address address);
    //删除
    int delete(Integer id);
}
